<?php

class User_Model_Groups extends Pldkp_Db_Table_Abstract 
{
    protected $_name = 'groups';
    protected $_rowClass = 'User_Model_GroupRow';

    protected $_dependentTables = array(
        'User_Model_Groups', 
        'User_Model_UsersGroups', 
        'User_Model_GroupsRights'
    );
        
    protected $_referenceMap = array(
        'Parent' => array(
            'columns'       => array('parent_group_id'),
            'refTableClass' => 'User_Model_Groups',
            'refColumns'    => array('id')
        ),
    );
}
